﻿namespace EasyCourse.Data.SqlServer
{
    public class SqlString
    {
        public static readonly string ExistDatabase = "select count(1) from master.dbo.sysdatabases where name = '{0}'";
        public static readonly string CreateDatabase = "create database '{0}'";
        public static readonly string ExistSheet = "select count(1) from sysobjects where name = '{0}'";

        public static readonly string QuerySystemUser = "select * from SystemUser where LoginName = @LoginName";
    }
}
